import type { ArticleInfo } from './article';

export interface ArchiveItem {
  year: number;
  count: number;
  months: {
    month: number;
    articles: ArticleInfo[];
  }[];
}

export interface MonthGroup {
  month: number;
  articles: ArticleInfo[];
}

export interface YearGroup {
  year: number;
  count: number;
  months: MonthGroup[];
}
